﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPages/Profile.Master"
    CodeBehind="searchresult.aspx.cs" Inherits="DatingWebSite.Pages.searchresult" %>

<asp:Content ContentPlaceHolderID="head" runat="server" ID="head1">
    <title>Search Result</title>
</asp:Content>
<%--<asp:Content ContentPlaceHolderID="links" runat="server" ID="link1">
    <div class="top-lower-left">
        <ul>
            <li>Search
                <ul>
                    <li>Common Content Link 1</li>
                    <li>Common Content Link 2</li>
                    <li>Common Content Link 3</li>
                    <li>Common Content Link 4</li>
                </ul>
            </li>
        </ul>
    </div>
</asp:Content>--%>
<asp:Content ContentPlaceHolderID="Content" runat="server" ID="content1">
    <div class="top-lower-middle">
        <!-- Payment information section start here -->
        <div class="payment-info-div">
            <div class="payment-info-div-top">
                <div id="payment_options">
                    <div id="payment_header">
                        <div class="payment_header_text">
                            Member Search Result
                        </div>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <table width="100%" border="0" style="padding-top: 60px;">
                                    <tr>
                                        <td>
                                            <a class="alertLink" href="membersearch.aspx">Go back to Advance Search</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table cellpadding="0" border="0" style="font-family: Times New Roman; font-size: smaller;">
                                                <tr>
                                                    <td align="right">
                                                        <asp:LinkButton ID="lbtnFirst" runat="server" CausesValidation="false" OnClick="lbtnFirst_Click">First</asp:LinkButton>
                                                        &nbsp;
                                                    </td>
                                                    <td align="right">
                                                        <asp:LinkButton ID="lbtnPrevious" runat="server" CausesValidation="false" OnClick="lbtnPrevious_Click">Previous</asp:LinkButton>&nbsp;&nbsp;
                                                    </td>
                                                    <td align="center" valign="middle">
                                                        <asp:DataList ID="dlPaging" runat="server" RepeatDirection="Horizontal" OnItemCommand="dlPaging_ItemCommand"
                                                            OnItemDataBound="dlPaging_ItemDataBound">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="lnkbtnPaging" runat="server" CommandArgument='<%# Eval("PageIndex") %>'
                                                                    CommandName="Paging" Text='<%# Eval("PageText") %>'></asp:LinkButton>&nbsp;
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </td>
                                                    <td align="left">
                                                        &nbsp;&nbsp;<asp:LinkButton ID="lbtnNext" runat="server" CausesValidation="false"
                                                            OnClick="lbtnNext_Click">Next</asp:LinkButton>
                                                    </td>
                                                    <td align="left">
                                                        &nbsp;
                                                        <asp:LinkButton ID="lbtnLast" runat="server" CausesValidation="false" OnClick="lbtnLast_Click">Last</asp:LinkButton>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="5" align="center" style="height: 30px" valign="middle">
                                                        <asp:Label ID="lblPageInfo" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div id="DSGallery" runat="server">
                                                <table cellpadding="0" border="0" style="font-family: Times New Roman; font-size: smaller;">
                                                    <asp:DataList ID="grdGridResult" RepeatColumns="3" RepeatDirection="Horizontal" runat="server">
                                                        <ItemTemplate>
                                                            <table cellpadding="10" style="font: 10pt verdana">
                                                                <tr>
                                                                    <td valign="top" width="15%" style="border-color: Yellow;">
                                                                        <a href="profile.aspx?ProfileID=<%#DataBinder.Eval(Container.DataItem, "ProfileID")%>">
                                                                            <img height="80px" width="100px" src="<%=ProjectImagePath%><%=PhotoURL%><%#DataBinder.Eval(Container.DataItem, "Photo")%>"
                                                                                alt="" title="<%#DataBinder.Eval(Container.DataItem, "Title")%>" /></a>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </ItemTemplate>
                                                    </asp:DataList>
                                                </table>
                                            </div>
                                            <div id="DSThumbles" runat="server">
                                                <table cellpadding="0" border="0" width="90%">
                                                    <asp:Repeater ID="dsRepeater" runat="server">
                                                        <ItemTemplate>
                                                            <table cellpadding="0" style="font: 8pt verdana">
                                                                <tr>
                                                                    <td width="15%" valign="top">
                                                                        <a href="profile.aspx?ProfileID=<%#DataBinder.Eval(Container.DataItem, "ProfileID")%>">
                                                                            <img src="<%=ProjectImagePath%><%=PhotoURL%><%#DataBinder.Eval(Container.DataItem, "Photo")%>"
                                                                                height="50px" width="70px" alt="images/icon_no_photo.png" title="View <%#DataBinder.Eval(Container.DataItem, "FirstName")%>&nbsp;<%#DataBinder.Eval(Container.DataItem, "LastName")%>'s Profile" /></a><br />
                                                                        <a href="profile.aspx?ProfileID=<%#DataBinder.Eval(Container.DataItem, "ProfileID")%>"
                                                                            title="View <%#DataBinder.Eval(Container.DataItem, "FirstName")%>&nbsp;<%#DataBinder.Eval(Container.DataItem, "LastName")%>'s Profile">
                                                                            View Profile</a>
                                                                    </td>
                                                                    <td width="2%">
                                                                        &nbsp;
                                                                    </td>
                                                                    <td align="left" valign="top">
                                                                        <a href="profile.aspx?ProfileID=<%#DataBinder.Eval(Container.DataItem, "ProfileID")%>"
                                                                            title="View <%#DataBinder.Eval(Container.DataItem, "FirstName")%>&nbsp;<%#DataBinder.Eval(Container.DataItem, "LastName")%>'s Profile">
                                                                            <%#DataBinder.Eval(Container.DataItem, "FirstName")%>&nbsp;
                                                                            <%#DataBinder.Eval(Container.DataItem, "LastName")%></a>,&nbsp;Age:<%#DataBinder.Eval(Container.DataItem, "Age")%>,&nbsp;<%#DataBinder.Eval(Container.DataItem, "Country")%>,
                                                                        <%#DataBinder.Eval(Container.DataItem, "Height")%>,&nbsp;<%#DataBinder.Eval(Container.DataItem, "GeneralBuild")%>,
                                                                        <%#DataBinder.Eval(Container.DataItem, "HairColor")%>,&nbsp;<%#DataBinder.Eval(Container.DataItem, "EyeColor")%>,
                                                                        <%#DataBinder.Eval(Container.DataItem, "Ethnicity")%>,
                                                                        <%#DataBinder.Eval(Container.DataItem, "SmokingPreference")%>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                </table>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                </div>
            </div>
            <div class="payment-info-div-bottom">
                <img src="../Resources/img/payment-info-bottom.jpg" width="436" height="14" alt="" /></div>
        </div>
    </div>
</asp:Content>
